look ahead logic

预看逻辑